//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Scream - Band','The Pyramid Scheme','Grand Rapids, MI','Monday','9/23/2024','7:00 PM','6496571','Scream---Band-9-23-2024'],['Galactic Empire','The Pyramid Scheme','Grand Rapids, MI','Sunday','9/29/2024','6:30 PM','6512210','Galactic-Empire-9-29-2024'],['Gong','The Pyramid Scheme','Grand Rapids, MI','Monday','9/30/2024','7:00 PM','6570673','Gong-9-30-2024'],['David Cross Band','The Pyramid Scheme','Grand Rapids, MI','Wednesday','10/2/2024','8:00 PM','6542146','David-Cross-Band-10-2-2024'],['Sarah Shook and The Disarmers','The Pyramid Scheme','Grand Rapids, MI','Thursday','10/3/2024','7:00 PM','6499139','Sarah-Shook-and-The-Disarmers-10-3-2024'],['Grand Rapids Doomfest','The Pyramid Scheme','Grand Rapids, MI','Friday','10/4/2024','5:00 PM','6580207','Grand-Rapids-Doomfest-10-4-2024'],['Gene Loves Jezebel','The Pyramid Scheme','Grand Rapids, MI','Friday','10/4/2024','8:00 PM','6617933','Gene-Loves-Jezebel-10-4-2024'],['Iridescence','The Pyramid Scheme','Grand Rapids, MI','Sunday','10/6/2024','7:00 PM','6580206','Iridescence-10-6-2024'],['Duster - Band','The Pyramid Scheme','Grand Rapids, MI','Tuesday','10/8/2024','8:00 PM','6625707','Duster---Band-10-8-2024'],['Mr. Gnome','The Pyramid Scheme','Grand Rapids, MI','Wednesday','10/9/2024','8:00 PM','6551386','Mr--Gnome-10-9-2024'],['Panopticon','The Pyramid Scheme','Grand Rapids, MI','Friday','10/11/2024','6:30 PM','6501057','Panopticon-10-11-2024'],['Mdou Moctar','The Pyramid Scheme','Grand Rapids, MI','Saturday','10/12/2024','7:00 PM','6510908','Mdou-Moctar-10-12-2024'],['Diesel Boy','The Pyramid Scheme','Grand Rapids, MI','Sunday','10/13/2024','7:00 PM','6673449','Diesel-Boy-10-13-2024'],['Ken Mode','The Pyramid Scheme','Grand Rapids, MI','Wednesday','10/16/2024','8:00 PM','6631247','Ken-Mode-10-16-2024'],['Lindsay Lou','The Pyramid Scheme','Grand Rapids, MI','Thursday','10/17/2024','7:00 PM','6650480','Lindsay-Lou-10-17-2024'],['Kate Nash','The Pyramid Scheme','Grand Rapids, MI','Saturday','10/19/2024','7:00 PM','6450455','Kate-Nash-10-19-2024'],['The Funeral Portrait','The Pyramid Scheme','Grand Rapids, MI','Wednesday','10/23/2024','8:00 PM','6720035','The-Funeral-Portrait-10-23-2024'],['Worry Club & Sorry Mom','The Pyramid Scheme','Grand Rapids, MI','Thursday','10/24/2024','8:00 PM','6637268','Worry-Club---Sorry-Mom-10-24-2024'],['Chris Cohen','The Pyramid Scheme','Grand Rapids, MI','Tuesday','10/29/2024','8:00 PM','6497373','Chris-Cohen-10-29-2024'],['The Slaps','The Pyramid Scheme','Grand Rapids, MI','Tuesday','11/5/2024','7:00 PM','6542210','The-Slaps-11-5-2024'],['Vlad Holiday','The Pyramid Scheme','Grand Rapids, MI','Wednesday','11/6/2024','7:00 PM','6667175','Vlad-Holiday-11-6-2024'],['Equipment - Band','The Pyramid Scheme','Grand Rapids, MI','Thursday','11/7/2024','7:00 PM','6677282','Equipment---Band-11-7-2024'],['Harbour','The Pyramid Scheme','Grand Rapids, MI','Friday','11/8/2024','7:00 PM','6689381','Harbour-11-8-2024'],['Brother Elsey','The Pyramid Scheme','Grand Rapids, MI','Saturday','11/9/2024','7:00 PM','6523703','Brother-Elsey-11-9-2024'],['Nest - Band','The Pyramid Scheme','Grand Rapids, MI','Monday','11/18/2024','7:00 PM','6674866','Nest---Band-11-18-2024'],['In The Valley Below','The Pyramid Scheme','Grand Rapids, MI','Saturday','11/23/2024','7:00 PM','6620506','In-The-Valley-Below-11-23-2024'],['Sapphic Factory: Queer Joy Party','The Pyramid Scheme','Grand Rapids, MI','Friday','11/29/2024','8:30 PM','6617066','Sapphic-Factory--Queer-Joy-Party-11-29-2024'],['Tiny Moving Parts','The Pyramid Scheme','Grand Rapids, MI','Friday','12/6/2024','7:00 PM','6571448','Tiny-Moving-Parts-12-6-2024'],['Tim Heidecker','The Pyramid Scheme','Grand Rapids, MI','Saturday','2/1/2025','8:00 PM','6711297','Tim-Heidecker-2-1-2025'],['The Dirty Nil','The Pyramid Scheme','Grand Rapids, MI','Sunday','2/9/2025','7:00 PM','6703080','The-Dirty-Nil-2-9-2025']],'The Pyramid Scheme','http://www.ticketnetwork.com/ticket/The-Pyramid-Scheme-events.aspx');